﻿// utils Package// (cc)2010 codeplay// By Jam Zhang// jammind@gmail.compackage codeplay.utils{			public function removeArrayElements(array:Array,startIndex:int,numberElements:int=1):Array {		//trace('codeplayArray.length='+array.length+' '+startIndex+','+numberElements);		if(startIndex==0) {			return array.slice(numberElements,array.length);		} else if(startIndex+numberElements>=array.length) {			return array.slice(0,startIndex);		} else {			return array.slice(0,startIndex).concat(array.slice(startIndex+numberElements,array.length));		}	}	}